use serde::{Deserialize, Serialize};
use QcMacros::Comp;

use super::light::{Light, LightType};

#[derive(Debug, Comp, Clone, Serialize, Deserialize)]
pub struct AmbientSphereLight {
    inner: ComponentInner,
    pub light: Light,
}

impl Default for AmbientSphereLight {
    fn default() -> Self {
        Self {
            inner: ComponentInner::default(),
            light: Light::default().with_type(LightType::AmbientSphere),
        }
    }
}
